package cn.tedu._07springaop.aop;

import com.sun.tools.javac.Main;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TEST
{
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context=new AnnotationConfigApplicationContext("cn.tedu._07springaop");
        calculatorimpl cal=context.getBean(calculatorimpl.class);
        cal.add(2,4);
    }
}
